<%--
  Created by IntelliJ IDEA.
  User: guo
  Date: 2017/10/24
  Time: 22:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h1 align="center">修改商品</h1>
<c:forEach var="p" items="${product}"></c:forEach>
<input type="hidden" name="pid" value="${p.pid} ">
<form action="${pageContext.request.contextPath}/updateServlet" method="post">
    商品名称：<input type="text" name="name" value="${p.pname}"><br>
    商品市场价格：<input type="text" value="${p["market_price"]}" ><br>
    商品商场价格：<input type="text" value="${p["shop_price"]}"><br>
    商品描述：<textarea value="${p.pdesc}" style="width:200px;height:80px;"></textarea>
    <input type="submit" value="提交">
    <input type="reset" value="重置">
</form>
</body>
</html>
